import { Component, OnInit } from '@angular/core';
import { UserService } from '../user.service';

@Component({
  selector: 'app-edit-card',
  templateUrl: './edit-card.component.html',
  styleUrls: ['./edit-card.component.less']
})
export class EditCardComponent implements OnInit {


  constructor(private user: UserService) {
    this.user.getBankInfo('compulsive');
  }

  get bankInfo() {
    return this.user.bankInfo.data;
  }

  ngOnInit() {
  }

}
